<include file="admin/Index/header"  />
<layout name="admin:Index:left"  />
<div id="main">
    <div class="operator">    
            <ul class="fleft">
                    <li><a href="__URL__/add">新增</a></li>
                    <li><a href="__URL__/edit">修改</a></li>
                    <li><a href="javascript:delList();">删除</a></li>
                </ul>
        <fieldset class="fieldset serach">
            <legend>搜索</legend>
            <form action="__URL__" method="get">
                <input type="text" name="keyword" />
                <input type="submit" />
            </form>
        </fieldset>
    </div>
    <div class="list">
        <form id="formList" action="__URL__/delete" method="get">
            <table id="list" cellspacing="0" >
                <tr>
                    <th scope="col">ID</th>
                    <th scope="col">标题</th>
                    <th scope="col">摘要</th>
                    <th scope="col">作者</th>
                    <th scope="col">更新时间</th>
                </tr>
                <volist name="list" id="vo">
                    <tr>
                        <td class="row"><input type="checkbox" name="post_id[]" value="{$vo.post_id}"/>{$vo.post_id}</td>
                        <td class="row"><a href="__URL__/edit/post_id/{$vo.post_id}">{$vo.post_title}</a></td>
                        <td class="row"><a href="__URL__/edit/post_id/{$vo.post_id}">{$vo.post_excerpt}</a></td>
                         <td class="row">{$vo.post_author}</td>
                        <td class="row">{$vo.post_update_time|toDate}</td>
                    </tr>
                </volist>
                <tr>
                    <th scope="col" colspan="2"><input type="checkbox"><a href="#">全部</a></th>
                    <th scope="col" colspan="3">{$page}</th>
                </tr>
            </table>
            </form>
    </div>
        </div>
<include file="admin/Index/footer"  />